<template>
    <ui-main title="计数器" back>
        <h3>实例</h3>
        <div>
            <el-input-number v-model="num1" @change="handleChange" :disabled="disabled" :step="step" :min="min" :max="max"></el-input-number>
        </div>

        <div>
            <ui-load-md file="inputNumber"></ui-load-md>
        </div>
    </ui-main>
</template>
<script>
    export default {
        name    : '',
        data() {
            return {
                num1 : 1,
                min : 1,
                max : 10,
                disabled : false,
                step : 2
            }
        },
        mounted(){

        },
        watch   : {},
        methods : {
            handleChange(value) {
                console.log(value);
            }
        }
    }
</script>
